package com.xiaofeixia.sj.entity;

import org.hibernate.validator.constraints.NotBlank;

import javax.xml.crypto.Data;

/**
 * 用户信息
 */
public class User {

    private Integer id;  //用户ID
    private String user_name; //账号
    private String password;//密码
    private Data registration_time;//注册日期
    private Integer sex;    //性别
    private Integer qq;     //QQ号码
    private String self_introduction;   //个人介绍
    private String nickname;        //昵称
    private String user_photo;      //用户头像
    private String category;        //行业分类
    private String label_id;        //个人标签ID
    private Integer current_occupation;//当前职业
    private String living_province; //现居住地(省)
    private String living_city;//现居住地(市)
    private String living_Area;//现居住地(区/县)
    private Integer forum_id; //所属板块ID
    private Integer post_sum;//发帖总数
    private Integer comment_sum;//回答帖子数量
    private Integer account_type;//账号类型
    private Integer status; //用户状态
    private String title_reason; //封号理由
    private Data stat_title_time; //账号禁封的开始时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @NotBlank(message = "用户名不能为空")
    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    @NotBlank(message = "密码不能为空")
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Data getRegistration_time() {
        return registration_time;
    }

    public void setRegistration_time(Data registration_time) {
        this.registration_time = registration_time;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getQq() {
        return qq;
    }

    public void setQq(Integer qq) {
        this.qq = qq;
    }

    public String getSelf_introduction() {
        return self_introduction;
    }

    public void setSelf_introduction(String self_introduction) {
        this.self_introduction = self_introduction;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUser_photo() {
        return user_photo;
    }

    public void setUser_photo(String user_photo) {
        this.user_photo = user_photo;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getLabel_id() {
        return label_id;
    }

    public void setLabel_id(String label_id) {
        this.label_id = label_id;
    }

    public Integer getCurrent_occupation() {
        return current_occupation;
    }

    public void setCurrent_occupation(Integer current_occupation) {
        this.current_occupation = current_occupation;
    }

    public String getLiving_province() {
        return living_province;
    }

    public void setLiving_province(String living_province) {
        this.living_province = living_province;
    }

    public String getLiving_city() {
        return living_city;
    }

    public void setLiving_city(String living_city) {
        this.living_city = living_city;
    }

    public String getLiving_Area() {
        return living_Area;
    }

    public void setLiving_Area(String living_Area) {
        this.living_Area = living_Area;
    }

    public Integer getForum_id() {
        return forum_id;
    }

    public void setForum_id(Integer forum_id) {
        this.forum_id = forum_id;
    }

    public Integer getPost_sum() {
        return post_sum;
    }

    public void setPost_sum(Integer post_sum) {
        this.post_sum = post_sum;
    }

    public Integer getComment_sum() {
        return comment_sum;
    }

    public void setComment_sum(Integer comment_sum) {
        this.comment_sum = comment_sum;
    }

    public Integer getAccount_type() {
        return account_type;
    }

    public void setAccount_type(Integer account_type) {
        this.account_type = account_type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTitle_reason() {
        return title_reason;
    }

    public void setTitle_reason(String title_reason) {
        this.title_reason = title_reason;
    }

    public Data getStat_title_time() {
        return stat_title_time;
    }

    public void setStat_title_time(Data stat_title_time) {
        this.stat_title_time = stat_title_time;
    }

}
